<?php
/**
 * 分享
 * 
 * 调用方式：{:W,}
 *
 */
class BugWidget extends Widget{
	public function render($data){
		$userInfo = unserialize($_SESSION['AppUserInfo']);
		$data['userLink'] = "<a href='http://hi.huawei.com/space/".$_SESSION['mid']."' target='_blank'>".$userInfo['fullname']."</a>";
		$content = $this->renderFile("./addons/widgets/Bug.html",$data);
		return $content;
	}
}
?>